import { valueModeEnum } from './mode-enum';

export type valueTypes = valueModeEnum

/* 浏览模式 :简单模式，复杂模式*/
export type viewMode = "plainMode" | "complexMode"
/* 编辑模式:问卷模式，访问模式 */
export type editMode = "questionnaire" | "visitor"
export type theme = "dark"
export type projectModeType = {
    viewMode: boolean,
    editMode: boolean,
    theme: theme
}

export type tableItemType = {
    key: string,
    sort: number,
    tips: string,
    value: any,
    [key: string]: any,
    id: string,
    /* 临时数据 */
    tempValue: string,

}
export type tableValueType={
    data:Array<tableDataType>,
    column:string
}
export type tableDataType = {
    key: string,
    value: string,
    id:string
}